package xyz.xtt.asset.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2025-03-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tbl_blind_box_detail")
@ApiModel(value="TblBlindBoxDetail对象", description="")
public class TblBlindBoxDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "盲盒goods_id")
    private String goodsId;

    @ApiModelProperty(value = "资源地址")
    private String fileUri;

    @ApiModelProperty(value = "1 有效")
    private Integer state;

    @ApiModelProperty(value = "0 图片  1 音频 2 视频")
    private Integer fileType;

    @ApiModelProperty(value = "权重")
    private Integer weight;

    @ApiModelProperty(value = "开始时间")
    private Long startTimestamp;

    @ApiModelProperty(value = "结束时间")
    private Long endTimestamp;

    @ApiModelProperty(value = "库存阈值 0 不限量")
    private Integer quantity;


}
